package com.example.zhaoyulu.yunzhiapp.zylUtils;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;

import com.bigkoo.convenientbanner.holder.Holder;
import com.bumptech.glide.Glide;

/**
 * Created by zhaoyulu on 18-5-23.
 */

public class lunboNetImageHolder implements Holder<String> {
    ImageView imageVIew;

    @Override
    public View createView(Context context) {
        imageVIew=new ImageView(context);
        imageVIew.setScaleType(ImageView.ScaleType.FIT_XY);
        return null;
    }

    @Override
    public void UpdateUI(Context context, int position, String data) {
        Glide.with(context).load(data).into(imageVIew);
    }
}
